<div class="box box-success" style="margin-bottom: 0px">
    <div class="box-header with-border">
        <h3 class="box-title">复选控件</h3>
    </div>
    <form role="form">
        <div class="box-body">
            <div class="form-group">
                <label>字段名称</label> {:Form::text('name', isset($params.name)?$params.name:'NewField', ['data-rule'=>'required','readonly'=>true])}
            </div>
            <div class="form-group">
                <label>控件名称</label> {:Form::text('title', isset($params.title)?$params.title:'', ['data-rule'=>'required;filter'])}
            </div>
            <div class="form-group">
                <label>复选选项</label> {:Form::fieldlist('value', isset($params.value)?$params.value:'', null, '', ['data-rule'=>'required'])}
            </div>
            <div class="form-group">
                <label>表单验证</label> {:Form::select('options_rule', [ ''=>'不验证', 'checked'=>'必填' ], isset($params.options_rule)?$params.options_rule:'')}
            </div>
        </div>
        <div class="form-group hidden">
            <label class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('Submit')}</button>
                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
            </div>
        </div>
    </form>
</div>